package com.itheima.health.service;

import com.itheima.health.pojo.Member;

import java.util.List;
import java.util.Map;

public interface MemberService {

    /**
     * 通过查询电话号码判断是否为会员
     * @param telephone
     */
    Member findByTelephone(String telephone);


    /**
     * 添加新会员
     * @param member
     */
    void add(Member member);

    /**
     * 调用服务查询过去12个月会员数据
     * @param mouths
     * @return
     */
    List<Integer> getMemberReport(List<String> mouths);


}
